package com.liqw.fastswing.domain.entity;


import lombok.Data;

@Data
public class User {
    private Long id;

    private String name;

    public boolean isNew() {
        return this.id==null;
    }
}
